
export { NavigationActions, StackActions } from 'react-navigation';

export { default as Storage } from './storage';
export { default as request } from './request';
export { default as NavigationService } from './navigation-service';

export const delay = time => new Promise(resolve => setTimeout(resolve, time));

export const createAction = type => payload => ({
  type, payload,
});

export const registerAppStore = it => {
  global.store = it;
};

export { default as Constants } from './constants';

export { default as Authority } from './authority';

export { noticeByAlert as notice } from './notice';

export { default as commonMethods } from './commonMethods';
